﻿intrinsic class net.wargaming.hangar.AmmunitionPanel.AmmunitionPanel extends gfx.core.UIComponent implements net.wargaming.interfaces.IHelpLayoutComponent
{
    var maitenanceBtn, tuningBtn, shells, equipments, modules, modulesHelpLayout, devices, devicesHelpLayout, vehicleStateMsg, initialized, gunName, maxAmmo;
    function AmmunitionPanel()
    function configUI()
    function showHelpLayout()
    function closeHelpLayout()
    function showTooltip(args)
    function hideTolltip(args)
    function __setVehicleStatus(message, color)
    function setVehicleStatus(message, stateLevel)
    function setCredits()
    function setGold()
    function onShellClick(event)
    function onTuningClick(event)
    function handleCloseWindow(event)
    function disableAmmunitionPanel(value)
    function disableTuningButton(value)
    function setAmmunitionValues()
    function __stateLevelToColor(stateLevel)

    static var SHELLS_COUNT = 3;
    var credits = 0;
    var gold = 0;
    var ammoArr = [];
    var loaded = 0;
    var lockMessage = "";
    static var YELLOW_COLOR = 13814699;
    static var RED_COLOR = 10158594;
    static var GREEN_COLOR = 4813330;
    static var keyConv = new net.wargaming.managers.XMLKeyConverter();
} // End of Class
